/**
 * 
 */
package fr.mynounou.entities;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * @author btavernier
 *
 */

@Entity
public class Menu {
	@Temporal(TemporalType.DATE)
	@Column(name="dateMenu")
	Date date;
	String entree,plat,dessert;
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	/**
	 * @return the date
	 */
	public Date getDate() {
		return date;
	}
	/**
	 * @param date the date to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}
	/**
	 * @return the entree
	 */
	public String getEntree() {
		return entree;
	}
	/**
	 * @param entree the entree to set
	 */
	public void setEntree(String entree) {
		this.entree = entree;
	}
	/**
	 * @return the plat
	 */
	public String getPlat() {
		return plat;
	}
	/**
	 * @param plat the plat to set
	 */
	public void setPlat(String plat) {
		this.plat = plat;
	}
	/**
	 * @return the dessert
	 */
	public String getDessert() {
		return dessert;
	}
	/**
	 * @param dessert the dessert to set
	 */
	public void setDessert(String dessert) {
		this.dessert = dessert;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	
	
}
